package cn.mhome.merchant.dao.common.po;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;

@Entity
@Table(name="business")
public class Business implements Serializable{

	private long businessId;
	private String businessName;
	private String city;
	private String remark;
	private String telphone;
	private int state;
	
	private String outletName;
	private String outletAddress;
	private String outletPhone;
	private String outletLevel;
	
	private String businessImage;
	private String outletDesc;
	private String imageUrl1;
	private String imageUrl2;
	private String imageUrl3;
	private String imageUrl4;
	private String imageUrl5;
	private String outletDetail;
	private long version;
	
	private Date createTime;
	private long createUser;
	
	private Integer visitCount;
	private Integer contactCount;
	
	@Id
	@Column(name="business_id")
	public long getBusinessId() {
		return businessId;
	}
	public void setBusinessId(long businessId) {
		this.businessId = businessId;
	}
	
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Column(name="business_name")
	public String getBusinessName() {
		return businessName;
	}
	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}
	@Column(name="city")
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	@Column(name="telphone")
	public String getTelphone() {
		return telphone;
	}
	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}
	@Column(name="state")
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	@Column(name="outlet_name")
	public String getOutletName() {
		return outletName;
	}
	public void setOutletName(String outletName) {
		this.outletName = outletName;
	}
	@Column(name="outlet_address")
	public String getOutletAddress() {
		return outletAddress;
	}
	public void setOutletAddress(String outletAddress) {
		this.outletAddress = outletAddress;
	}
	@Column(name="outlet_phone")
	public String getOutletPhone() {
		return outletPhone;
	}
	public void setOutletPhone(String outletPhone) {
		this.outletPhone = outletPhone;
	}
	@Column(name="outlet_level")
	public String getOutletLevel() {
		return outletLevel;
	}
	public void setOutletLevel(String outletLevel) {
		this.outletLevel = outletLevel;
	}
	@Column(name="outlet_desc")
	public String getOutletDesc() {
		return outletDesc;
	}
	public void setOutletDesc(String outletDesc) {
		this.outletDesc = outletDesc;
	}
	@Column(name="image_url1")
	public String getImageUrl1() {
		return imageUrl1;
	}
	public void setImageUrl1(String imageUrl1) {
		this.imageUrl1 = imageUrl1;
	}
	@Column(name="image_url2")
	public String getImageUrl2() {
		return imageUrl2;
	}
	public void setImageUrl2(String imageUrl2) {
		this.imageUrl2 = imageUrl2;
	}
	@Column(name="image_url3")
	public String getImageUrl3() {
		return imageUrl3;
	}
	public void setImageUrl3(String imageUrl3) {
		this.imageUrl3 = imageUrl3;
	}
	@Column(name="image_url4")
	public String getImageUrl4() {
		return imageUrl4;
	}
	public void setImageUrl4(String imageUrl4) {
		this.imageUrl4 = imageUrl4;
	}
	@Column(name="image_url5")
	public String getImageUrl5() {
		return imageUrl5;
	}
	public void setImageUrl5(String imageUrl5) {
		this.imageUrl5 = imageUrl5;
	}
	@Column(name="outlet_detail")
	public String getOutletDetail() {
		return outletDetail;
	}
	public void setOutletDetail(String outletDetail) {
		this.outletDetail = outletDetail;
	}
	@Version
	@Column(name="version")
	public long getVersion() {
		return version;
	}
	public void setVersion(long version) {
		this.version = version;
	}
	@Column(name="create_time")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column(name="create_user")
	public long getCreateUser() {
		return createUser;
	}
	public void setCreateUser(long createUser) {
		this.createUser = createUser;
	}
	@Column(name="visit_count")
	public Integer getVisitCount() {
		return visitCount;
	}
	public void setVisitCount(Integer visitCount) {
		this.visitCount = visitCount;
	}
	@Column(name="contact_count")
	public Integer getContactCount() {
		return contactCount;
	}
	public void setContactCount(Integer contactCount) {
		this.contactCount = contactCount;
	}
	@Column(name="business_image")
	public String getBusinessImage() {
		return businessImage;
	}
	public void setBusinessImage(String businessImage) {
		this.businessImage = businessImage;
	}
	
}
